package com.smag.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smag.system.domain.FarmOrderProduct;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author hzqhzq
* @description 针对表【farm_order_product】的数据库操作Mapper
* @createDate 2023-04-26 10:35:15
* @Entity com.ruoyi.system.FarmOrderProduct
*/
public interface FarmOrderProductMapper extends BaseMapper<FarmOrderProduct> {

    List<Long> getOrderId(Long userId);

    int payOrder(@Param("orderId") Long orderId,@Param("status") Integer status,@Param("date") Date date);
}




